package model

type cmcExchangeModel struct {}

var CmcExchangeModel = new(cmcExchangeModel)

// 插入数据
func (m *cmcExchangeModel) InsertMulti(datas []CmcExchange) (bool, error) {
	items, err := MainDB.Insert(datas)
	if err != nil {
		return false, err
	}
	return items > 0, nil
}
